#import "ee_else_ce/work_items/graphql/work_item_widgets.fragment.graphql"
#import "~/graphql_shared/fragments/author.fragment.graphql"

fragment WorkItem on WorkItem {
  id
  iid
  title
  state
  description
  confidential
  createdAt
  updatedAt
  closedAt
  project {
    id
    fullPath
    archived
  }
  author {
    ...Author
  }
  workItemType {
    id
    name
    iconName
  }
  userPermissions {
    deleteWorkItem
    updateWorkItem
    setWorkItemMetadata @client
    adminParentLink
  }
  widgets {
    ...WorkItemWidgets
  }
}
